package com.google.code.etrclient.pojo;

public class Course {
  private String id;
  private String name;
  private String teachers;
  private int type;
  private int credits;
  private int exam_type;
  private int hours;
  private int grade;
  private boolean completed;
  
  public Course(String id, String name, String teachers, int type, int credits, int exam_type, int hours, int grade, boolean completed) {
    this.id = id;
    this.name = name;
    this.teachers = teachers;
    this.type = type;
    this.credits = credits;
    this.exam_type = exam_type;
    this.hours = hours;
    this.grade = grade;
    this.completed = completed;
  }

  public String getId() {
    return id;
  }
  
  public void setId(String id) {
    this.id = id;
  }
  
  public String getName() {
    return name;
  }
  
  public void setName(String name) {
    this.name = name;
  }
  
  public String getTeachers() {
    return teachers;
  }
  
  public void setTeachers(String teachers) {
    this.teachers = teachers;
  }
  
  public int getType() {
    return type;
  }
  
  public void setType(int type) {
    this.type = type;
  }
  
  public int getCredits() {
    return credits;
  }
  
  public void setCredits(int credits) {
    this.credits = credits;
  }
  
  public int getExamType() {
    return exam_type;
  }
  
  public void setExamType(int exam_type) {
    this.exam_type = exam_type;
  }
  
  public int getHours() {
    return hours;
  }
  
  public void setHours(int hours) {
    this.hours = hours;
  }
  
  public int getGrade() {
    return grade;
  }
  
  public void setGrade(int grade) {
    this.grade = grade;
  }
  
  public boolean isCompleted() {
    return completed;
  }

  public void setCompleted(boolean completed) {
    this.completed = completed;
  }

  @Override
  public String toString() {
    return "Course [id=" + id + ", name=" + name + ", teachers=" + teachers
        + ", type=" + type + ", credits=" + credits + ", exam_type="
        + exam_type + ", hours=" + hours + ", grade=" + grade + ", completed="
        + completed + "]";
  }
}
